Driver Modules:
These modules are what you assemble to get the desired version.
All they do is set the appropriate conditional assembly variables and include
the xxxxxx-Main.asm file(s)

AA908 Only: assemble  AA_xx.asm
AF908 Only: assemble  AF_xx.asm 
Combined:   assemble  AAxx-AFxx.asm 
  (Where xx is the version number)

The original "main" source modules have been split apart.
The general equates, RAM definitions and ROM vector table are in a shared module ramdefs.asm
The Timer delay and interrupt handlers are in timers.asm

Some common functions were extracted from various places and put in a shared misc.asm including:
  Get_DialSelection
  Calc_Batt
  Bin2BCD
  Utils.asm jump table
   The following are AF908 only for now, but may be of general interest.
   They are conditionally assembled for now.
  BCD2to16Bin, BCD4to16Bin
  String utilities StringCopy,StringCompare,StringNCompare
  MemSet,MemCopy



AA908 Modules
 AA_42c-Main.asm        
 mode.asm"
 config_m.asm"
 calib.asm'
 scan.asm"
 bands.asm"
 debug.asm"
 calcs.asm"
 init_m.asm"
 x_sign.asm"
 link.asm"

AF908 Modules
 AF_12a-Main.asm
 pb1.asm"
 pb2.asm"
 pb3.asm"
 pb4-config.asm"
 pb5.asm"
 DSP_run.asm"   
 rundsp908.asm"  
 runASP.asm"  
 DSPSoftwareUART.asm"
 AF_dial.asm"             
 init_af.asm"

Shared source modules:
 M908-Low.asm
 ab_regs.asm
 macros.asm
 local.asm
 SPI_FileXfer.asm        
 SPI_Functions.asm        
 timer.asm
 drivers.asm
 math.asm
 misc.asm



Conditonal Assembly variables:
     
AA908		; Set when AA908 code is present - alone or combined versions
AF908		; Set when AF908 code is present - alone or combined versions
AA908_Only	; Set when only AA908 code is present - not currently utilized
AF908_Only	; Set when only AF908 code is present - not currently utilized
AA_AF_Both	; Set when both AA908 & AF908 code is present - combined versions
FULL_DEBUGGER   ; when set re-arranges RAM to put stack at $1FF to enable full debugger capabilities


AA908 settings in AA_42c.asm:
$SET AA908_Only
$SET AA908
$SETNOT AF908
$SETNOT AF908_Only
$SETNOT AA_AF_Both
$SETNOT FULL_DEBUGGER

AF908 settings in AF_12a.asm:
$SET AF908_Only
$SET AF908
$SETNOT AA908
$SETNOT AA908_Only
$SETNOT AA_AF_Both
$SETNOT FULL_DEBUGGER

Combined AA908-AF908 settings in AA42c-AF12a.asm:
$SET    AA_AF_Both
$SET AF908
$SET AA908
$SETNOT AF908_Only
$SETNOT AA908_Only
$SETNOT FULL_DEBUGGER